const operatorArr = [
    { label: '移动', value: 1 },
    { label: '联通', value: 2 },
    { label: '电信', value: 3 },
]

export function getOperatorList() {
    return operatorArr
}

export function getOperatorName(value) {
    const index = operatorArr.findIndex(item => item.value === value)
    if (index >= 0) {
        return operatorArr[index].label
    } else {
        return '--'
    }
}